/*
 * @Author: your name
 * @Date: 2020-12-30 15:14:40
 * @LastEditTime: 2020-12-31 16:37:25
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \myReposCode\ExternC\moduleB.cpp
 */

// #ifdef __cplusplus
// extern "C" {
// #include "moduleA.h"
// }
#include <cstdio>
// #else
#include "moduleA.h" 
// #endif

// extern int foo(int x, int y);

int main()
{
    printf("%d", foo(2,3)); 
    return 0;
}